﻿namespace = dvg_illyria

# The Flight of the Bosniak Beys
dvg_illyria.1 = {
	type = country_event
	placement = ROOT

	title = dvg_illyria.1.t
	desc = dvg_illyria.1.d
	flavor = dvg_illyria.1.f
	
	event_image = {
		video = "gfx/event_pictures/europenorthamerica_before_the_battle.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/aristocrats"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
	}
	
	# We greet our Slavic brothers with open arms.
	option = {
		name = dvg_illyria.1.a
		default_option = yes
		s:STATE_CROATIA = {
			add_homeland = bosniak
		}
		s:STATE_NORTHERN_SERBIA = {
			add_homeland = bosniak
		}
		s:STATE_SOUTHERN_SERBIA = {
			add_homeland = bosniak
		}
		s:STATE_MONTENEGRO = {
			add_homeland = bosniak
		}
		add_loyalists = {
			value = 0.3
			culture = cu:bosniak
		}
		add_primary_culture = cu:bosniak
		ai_chance = {
			base = 1
		}
	}

	# They can come, but they must know that they will have to assimilate.
	option = {
		name = dvg_illyria.1.b
		default_option = yes
		add_radicals = {
			value = 0.95
			culture = cu:bosniak
		}
		ai_chance = {
			base = 0
		}
	}
}